package cn.edu.nyist.integration.service;

import cn.edu.nyist.integration.common.ServerResponse;
import cn.edu.nyist.integration.entity.Notice;

import java.util.List;

public interface NoticeService {
    ServerResponse issueNotice(Notice notice);

    List<Notice> queryAll();

    ServerResponse updateNotice(Notice notice);

    ServerResponse deleteNotice(Long id);

    Notice selectOne(Long id);

    ServerResponse getFirstNotice();

    ServerResponse findNotice(Long noticeId);
}
